This class represents a globally unique identifier.
Instances of this class are used to uniquely identify objects from one another. A plugin user is unlikely to need to create or use instances of SWHandle, but it will be seen heavily throughout the framework and may appear in demo plugins.
|
Public Member Functions |
|
SWHandle can be created from scratch or by passing another SWHandle into the constructor or passing a buffer of wchar_t or char that is compatible with the GUID format used by SWHandle into the constructor. |
| SWHandle () |
| Standard Constructor Internal GUID is generated automatically.
|
| SWHandle (const wchar_t *foo) |
| Constructor Creates internal GUID from the string that was passed in.
|
| SWHandle (const char *foo) |
| Constructor Creates internal GUID from the string that was passed in.
|
| SWHandle (const SWHandle &toCopy) |
| Copy Constructor Created as a copy of the passed in SWHandle.
|
virtual | ~SWHandle () |
|
SWHandle can be set equal to another SWHandle or to number of different types. The strings must comform to the GUID format used by SWHandle |
SWHandle | operator= (const CAtlString &foo) |
SWHandle | operator= (const std::wstring &foo) |
SWHandle | operator= (const wchar_t *foo) |
SWHandle | operator= (const char *foo) |
SWHandle | operator= (const SWHandle &foo) |
|
The internal string representation of the SWHandle GUID can be retrieved as a character string. |
| operator const char * () const |
const char * | toCharString () const |
Friends |
SWSERVICES_API bool | operator== (const SWHandle &s1, const SWHandle &toCompare) |
SWSERVICES_API bool | operator== (const SWHandle &s1, const CAtlString &toCompare) |
SWSERVICES_API bool | operator== (const SWHandle &s1, const std::wstring &toCompare) |
SWSERVICES_API bool | operator== (const SWHandle &s1, const wchar_t *foo) |
SWSERVICES_API bool | operator== (const SWHandle &s1, const char *foo) |
SWSERVICES_API bool | operator!= (const SWHandle &s1, const SWHandle &toCompare) |
SWSERVICES_API bool | operator!= (const SWHandle &s1, const CAtlString &toCompare) |
SWSERVICES_API bool | operator!= (const SWHandle &s1, const std::wstring &toCompare) |
SWSERVICES_API bool | operator!= (const SWHandle &s1, const wchar_t *foo) |
SWSERVICES_API bool | operator!= (const SWHandle &s1, const char *foo) |
SWSERVICES_API bool | operator< (const SWHandle &s1, const SWHandle &toCompare) |
SWSERVICES_API bool | operator< (const SWHandle &s1, const CAtlString &toCompare) |
SWSERVICES_API bool | operator< (const SWHandle &s1, const std::wstring &toCompare) |
SWSERVICES_API bool | operator< (const SWHandle &s1, const wchar_t *foo) |
SWSERVICES_API bool | operator< (const SWHandle &s1, const char *foo) |
SWSERVICES_API bool | operator<= (const SWHandle &s1, const SWHandle &toCompare) |
SWSERVICES_API bool | operator<= (const SWHandle &s1, const CAtlString &toCompare) |
SWSERVICES_API bool | operator<= (const SWHandle &s1, const std::wstring &toCompare) |
SWSERVICES_API bool | operator<= (const SWHandle &s1, const wchar_t *foo) |
SWSERVICES_API bool | operator<= (const SWHandle &s1, const char *foo) |
SWSERVICES_API bool | operator> (const SWHandle &s1, const SWHandle &toCompare) |
SWSERVICES_API bool | operator> (const SWHandle &s1, const CAtlString &toCompare) |
SWSERVICES_API bool | operator> (const SWHandle &s1, const std::wstring &toCompare) |
SWSERVICES_API bool | operator> (const SWHandle &s1, const wchar_t *foo) |
SWSERVICES_API bool | operator> (const SWHandle &s1, const char *foo) |
SWSERVICES_API bool | operator>= (const SWHandle &s1, const SWHandle &toCompare) |
SWSERVICES_API bool | operator>= (const SWHandle &s1, const CAtlString &toCompare) |
SWSERVICES_API bool | operator>= (const SWHandle &s1, const std::wstring &toCompare) |
SWSERVICES_API bool | operator>= (const SWHandle &s1, const wchar_t *foo) |
SWSERVICES_API bool | operator>= (const SWHandle &s1, const char *foo) |
SWSERVICES_API std::ostream & | operator<< (std::ostream &os, SWHandle &handle) |
SWSERVICES_API std::stringstream & | operator<< (std::stringstream &os, SWHandle &handle) |
SWSERVICES_API std::wstringstream & | operator<< (std::wstringstream &os, SWHandle &handle) |